package com.example.demo.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (GrowthRecord)表实体类
 *
 * @author makejava
 * @since 2025-01-27 23:57:21
 */
@SuppressWarnings("serial")
@Data
public class GrowthRecord extends Model<GrowthRecord> {

    private Long id;
    //儿童ID
    private Long childId;
    //身高(cm)
    private BigDecimal height;
    //体重(kg)
    private BigDecimal weight;
    //记录日期
    private LocalDate recordTime;

    private LocalDate createTime;
    //BMI指数
    private BigDecimal bmi;
    //头围(cm)
    private BigDecimal headCircumference;
    //营养状况
    private String nutritionStatus;
    //生长评估
    private String growthAssessment;




    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

